/**
 * 
 */
package com.zy.cat.entity.dev.garden;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sunyuancui
 * @date   2021年1月11日
 * 
 */
@Table(name="zy_cat_tree",indexes = {
	    @Index(name = "id", columnList = "id")})
	@Data
	@Entity
	@NoArgsConstructor
	@AllArgsConstructor
	@ApiModel("果树实体类")
public class Tree {
	@Id
	@Column(name="id",columnDefinition = "int(10) NOT NULL COMMENT '果树id'")
	@ApiModelProperty(value = "果树id", example = "")
    private Integer id;
	
	@Column(name="title",columnDefinition = "VARCHAR(255) NOT NULL COMMENT '果树标题'")
	@ApiModelProperty(value = "果树标题", example = "")
    private String title=""; 
	
	@Column(name="content",columnDefinition = "VARCHAR(255) NOT NULL COMMENT '果树详情'")
	@ApiModelProperty(value = "果树详情", example = "")
    private String content="";
	
	@Column(name="ic_url",columnDefinition = "VARCHAR(255) NOT NULL COMMENT '果树图片url'")
	@ApiModelProperty(value = "果树图片url", example = "https://")
    private String icUrl="";
	
	@Column(columnDefinition = "int(10) NOT NULL COMMENT '总等级数'")
	@ApiModelProperty(value = "总等级数", example = "")
    private Integer levelTotal; 
	
	@Column(name="fertilizer_total",columnDefinition = "int(10) NOT NULL COMMENT '当前等级总需肥料'")
	@ApiModelProperty(value = "等级总需肥料", example = "")
    private String fertilizerTotal;

	
	@Column(name="once_fertilizer",columnDefinition = "int(10) NOT NULL COMMENT '单次施肥量'")
	@ApiModelProperty(value = "单次施肥量", example = "")
    private String onceFertilizer; 

}
